STEP 6: Let's use the parameter name theme to set the background.

The third parameter variable when we define the function is theme. The third argument value when we call the function is "summer".

  • Change the image in the indented .set_background() command from "city" to theme.
  • Click Run to see the "summer" background image appear on the stage.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)